
package seeqpod;

public class SeeqPodRecommendation {
	private String creator;
	private String title;
	private SeeqPodTrack[] list;
	private String location = "";
	private String album = "";
	private String genre = "";
	
	public void setTitle(String Title){
		title = Title;
	}
	public String getTitle(){
		return title;
	}
	public void setCreator(String Creator){
		creator = Creator;
	}
	public String getCreator(){
		return creator;
	}
	public void setSeeqPodTrack(SeeqPodTrack[] List){
		list = List;
	}
	public void setSeeqPodTrack(){
		InOut io = new InOut();
		SeeqPod sp = new SeeqPod();
    	title.replaceAll(" ", "%20");
    	list = io.SearchSeeqResults(title, sp.KEY, 0, 2);
	}
	public SeeqPodTrack[] getSeeqPodTrack(){
		return list;
	}

	public void setLocation(String Location){
		location = Location;
	}
	public String getLocation(){
		return location;
	}
	public void setAlbum(String Album){
		album = Album;
	}
	public String getAlbum(){
		return album;
	}
	public void setGenre(String Genre){
		genre = Genre;
	}
	public String getGenre(){
		return genre;
	}
	
	public String toString(){
		return title + "; " + creator + ";";
	}
}
